Description:
Get the number of pending jobs from jobqueue.
Input Variables:
$session_id, $server_id
Parameters (in $params):
None
Output:
Returns the number of pending jobs from jobqueue.